import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';

/**
 * 物品
 */
@Entity('user_goods')
export class UserGoodsEntity extends BaseEntity {

  @Column({ comment: '物品名称', nullable: true })
  name: string;

  @Column({ comment: '备注', nullable: true, type: 'text' })
  remark: string;
}
